third-party-exp-api
Gate To Pay - Reversal
Description: This API is used to make reversal of cash withdrawal atm transaction.
Mulesoft Request:
Headers:
Mandatory Headers: x-correlation-id, client_id, Authorization
Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, client_secret, x-channel-id, x-bank-id
Paramaters:
URI Params: NA
Query Params: NA
Body:
{
"ftReference": "",
"gateToPayReference": "",
"transactionSource": "" //Optional
}
Content-type: application/json, text/json
Mulesoft Response:
Success Response: (201)
{
"status": {
"success": true,
"code": "201",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"ftReference": ""
}
}
Error Response: (400, 403, 404, 405, 406, 415, 500, 501)
{
"status": {
"success": false,
"code": "400",
"reasonCode": "BadRequest",
"arabicMessage": "لا يمكن اتمام العملية - Øركة غير موجوده",
"englishMessage": "Transaction Not Exist",
"backendError": "Transaction Not Exist",
"backendCode": "39"
}
}